package com.isoft.hospital.dao;

import com.isoft.hospital.entity.Work;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkDao {

@Select("select * from  pbwork")
    List<Work> selectAll();
    @Update("update  workpb set one=#{one},two=#{two}, three=#{three},four=#{four},five=#{five},six=#{six},seven=#{seven} where e_id=#{e_id}")
    int update(Work work);
}
